/*
 * WorkSnmpApi.h
 *
 *  Created on: 2017-5-25
 *      Author: root
 */

#ifndef WORKSNMPAPI_H_
#define WORKSNMPAPI_H_
#include"PublicConfig.h"
#if USE_PUBLIC_SNMP
#include"snmp_packet.h"
typedef struct _SNMPFLAG{
int    ReTimes;//重试次数
int    PerTime;//发送间隔ms
int    PerNum; //单次发送个数
int    TimeOut;//超时ms
char   Communtiy[128];//团体号
char   SrcIP[40];//源IP
int    bSupportIPV6;
}SNMPFLAG;
//初始化PING风格
SNMPFLAG InitSnmpFlag();
//显示PING风格
void ShowSnmpFlag(SNMPFLAG flag,size_t num);
MAPSNMPSYSPACKET GetSnmpInfoByIPList(SETIPLIST IPList,SNMPFLAG flag,MAPSTRINGLIST communitylist);
//获取单个IP的Snmp信息
SNMPSYSPACKET GetSnmpInfoByIP(const char*IP,const char*Communtiy,int TimeOutms);
#endif
#endif /* WORKSNMPAPI_H_ */
